package com.clear.club.interview.api.req;

import com.clear.club.interview.api.enums.EngineEnum;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 提交面试req
 * </p>
 */
@Getter
@Setter
public class InterviewSubmitReq implements Serializable {

    private static final long serialVersionUID = -684979414L;

    private String engine = EngineEnum.JI_CHI.name();

    /**
     * 简历url
     */
    private String interviewUrl;

    private List<Submit> questionList;

    @Getter
    @Setter
    public static class Submit {
        /**
         * 标签名称
         */
        private String labelName;

        /**
         * 题目名称
         */
        private String subjectName;

        /**
         * 题目答案
         */
        private String subjectAnswer;

        /**
         * 用户答题答案
         */
        private String userAnswer;

        /**
         * 用户答题分数
         */
        private Double userScore;
    }
}
